package com.shyroke.daydayzhuandao.respository;

import com.shyroke.daydayzhuanapi.entity.SubmitArtEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SubmitArtRepository extends BaseRepository<SubmitArtEntity,Integer>{
    @Query(value = " select count(0) from submit_art where create_id = ?1 and is_check = ?2  ",nativeQuery = true)
    int totalNotPassCount(Integer uid, int isCheck);
}
